<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>华为商城用户注册界面</title>
    <link rel="stylesheet" type="text/css" href="/HOME/homelogin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="/HOME/homelogin/css/body.css"/>
</head>
<body>
<div class="container">
    <section id="content">
        <img src="/HOME/homelogin/images/logo.jpg" alt="	"/>

        <form action="{{url('/admin/login/doregister')}}" method="post">


            <h1>欢迎注册</h1>
        @if (count($errors) > 0)
        <div class="alert alert-danger">
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
        </div>
        @endif
            <div>
                <input type="text" placeholder="用户名" required="" id="username" name="username"/>
                <span id='a'>
                
                </span>
            </div>
            <span id='b'></span>

            <div>
                <input type="password" placeholder="密码" required="" id="password" name="password">
                <span id='c'></span>
            </div>
            <span id='d'></span>

            <div>
                <input type="password" placeholder="确认密码" required="" id="password" name="repassword"/>
                <span id='e'></span>
            </div>
            <span id='f'></span>
            {{csrf_field()}}
            <div>
                <input type="text" placeholder="验证码" required="" id="code" name="code"/>
                <span id='g'></span>
            </div>
            <span id='h'></span>
            <div class="">
                <span class="help-block u-errormessage" id="js-server-helpinfo">&nbsp;</span></div>
            <div>
                
                <input type="submit" value="立即注册" class="btn btn-primary" id="js-btn-login"/>
                
                <a href="{{url('/admin/login/homelogin')}}" style="text-decoration:none">已有账号?立即登录</a>

            </div>
        </form>
        <div class="button">
            <span class="help-block u-errormessage" id="js-server-helpinfo">&nbsp;</span>
            <a href="#">亲，注册有惊喜哟。</a>
        </div>
    </section>
</div>
<!-- container -->


<br><br><br><br>

<div style="text-align:center;">

</div>
</body>


</html>